Crate batbox_cmp

source ·
Expand description

Extra utilities for Ord and PartialOrd types

Traits

  • Provides methods for clamping values
  • Extension trait for getting minimum/maximum of values grouped together
  • Extension trait for getting minimum/maximum of values grouped together

Functions

  • Compares and returns the maximum of two values.
  • Compares and returns the minimum of two values.
  • Compares arguments and returns (min, max)
  • Compares and returns the maximum of two values
  • Compares and returns the minimum of two values
  • Compares arguments and returns (min, max)